package com.xhs.hawaii.payment.controller;

import com.xhs.hawaii.payment.vo.BatchPaymentInfoVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author wzhao1
 * @version 1.0
 * @since 2018/1/24
 */
@RestController
@RequestMapping("/payments/")
@Api(value = "/hawaii/payment", description = "付款")
public class PaymentController {

    @RequestMapping(value = "", method = RequestMethod.GET)
    @ApiOperation("付款列表")
    public List<BatchPaymentInfoVo> getBatchPayments(){
        return null;
    }

    @RequestMapping(value = "getBatchPaymentView", method = RequestMethod.GET)
    @ApiOperation("获取批量付款预览")
    public List<BatchPaymentInfoVo> getBatchPaymentView(){
        return null;
    }

    @RequestMapping(value = "batchPay", method = RequestMethod.POST)
    @ApiOperation("进行批量付款并导出")
    public String batchPayAndExport(){
        return null;
    }

    @RequestMapping(value = "export", method = RequestMethod.POST)
    @ApiOperation("付款导出")
    public String export(){
        return null;
    }

    @RequestMapping(value = "importPaymentAttachment", method = RequestMethod.POST)
    @ApiOperation("导入付款凭证")
    public void importPaymentAttachment(String url){

    }

}
